package com.hysf.ioc.pro3_ioc_componentscan;

import com.hysf.project1.Person;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Data
@Component
@Scope("prototype")
public class Account {
	@Autowired
	private Student student;
}
